<?php

namespace App\Models;


class CourseDuty extends Orm
{
    protected $table = 'course_duty';
    protected $dateFormat = 'U';
    public $timestamps = true;

    public function courseInfo()
    {
        return $this->belongsTo(Course::class,'course_id')->withTrashed();
    }

}
